/*	talmud - The TALMUD roguelike
 * Copyright (C) 2012, talmud contributors
 *
 *  This program is free software; you can redistribute it and/or modify it
 *  under the terms of Version 2 of the GNU General Public License as published
 *  by the Free Software Foundation.
 *
 *  This program is distributed in the hope that it will be useful, but WITHOUT
 *  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 *  FITNESS FOR A PARTICULAR PURPOSE. See Version 2 of the GNU General Public
 *  License for more details.
 *
 *  You should have received a copy of the GNU General Public License along
 *  with this program; if not, write to the Free Software Foundation, Inc.,
 *  59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 */

#ifndef config_h
#define config_h

#include <stdint.h>

#define K_MOVE1		0
#define K_MOVE2		1
#define K_MOVE3		2
#define K_MOVE4		3
#define K_MOVE6		4
#define K_MOVE7		5
#define K_MOVE8		6
#define K_MOVE9		7
#define K_MOVEUP	8
#define K_MOVEDN	9
#define K_INV		10
#define K_WAIT		11
#define K_PICKUP	12
#define K_DROP		13
#define K_ZAP		14
#define K_QUAFF		15
#define K_WIELD		16
#define K_WEAR		17
#define K_TAKEOFF	18
#define INKEY_COUNT	19

typedef struct config_s
{
	uint8_t inkeys[INKEY_COUNT];
} config_t;

extern config_t cfg;

void SetupDefaultConfig(void);
uint8_t LoadConfig(void);

#endif
